package day0317_train01;

import java.util.Random;

public class Test2 {//Random随机
    public static void main(String[] args) {
        Random r=new Random();
        int n1=r.nextInt(100);   //[0----100)
        int n2=r.nextInt(100)+1; //[0+1----100+1)


        int operator=r.nextInt(4);  //0,1,2,3
        if(operator==0){
            System.out.println(n1 +  "+" + n2 + "=");
        }else if(operator==1){
            System.out.println(n1 +  "1" + n2 + "=");
        }else if(operator==2){
            System.out.println(n1 +  "*" + n2 + "=");
        }else if(operator==3){
            System.out.println(n1 +  "/" + n2 + "=");
        }




    }
}
